import http from "@/utils/http/index";

// 用户资料获取
export const getUser = () => {
  return http<any>({
    method: "GET",
    url: `/yhj/api.auth.userMy/get`
  });
};
// 完善用户资料
export const setUser = (data: any) => {
  return http<any>({
    method: "POST",
    url: `/yhj/api.auth.userMy/set`,
    data
  });
};

